package com.etl.service;


import com.etl.entity.EtlTaskLog;
import com.etl.webSocket.WebSocketUser;
import com.github.pagehelper.PageInfo;


/**
 * Created by Administrator on 2019/10/21.
 */

public interface IEtlLogService {



    /**
     * 【接口】查询某任务执行历史
     *
     * @param kid
     * @param pages
     * @param sizes
     */
    PageInfo<EtlTaskLog> history(Integer pages, Integer sizes, Long kid, String logType);

    /**
     * 查询某次执行日志详情
     *
     * @param logId
     * @return
     */
    String historyDetail(Long logId);



    /**
     * websocket读取任务执行日志
     *
     * @param webSocketUser
     */
    void readLogWebSocket(WebSocketUser webSocketUser);



}
